package com.sharding.test.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangpeiyu
 * @since 2021-10-21
 */
@Data
@ToString
@TableName("ts_user")
public class TsUser implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id")
	private Long id;

	@TableField("user_name")
	private String username;

	@TableField
	private Integer age;
}
